package cn.edu.zut.sunday.boolq.domain;

import cn.edu.zut.sunday.base.domain.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "boolq_info")
public class BoolqInfo extends BaseEntity<Integer> {

    @Column(name = "title", length = 512)
    private String title;

    @Column(name = "question", length = 512)
    private String question;

    @Column(name = "answer", length = 512)
    private Boolean answer;

    @Column(name = "passage", length = 512)
    private String  passage;

}

